package com.lzj.dao;

import com.lzj.entity.MeetingRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @autor:lzj
 * @date:2022/3/1
 */
public interface MeetingRoomMapper {
    List<MeetingRoom> getAllMr();//查询全部会议室
    MeetingRoom getMrById(@Param("roomid") int roomid);//通过id查询会议室
    int updateRoom(MeetingRoom meetingRoom);//更新会议室信息
    int addMr(MeetingRoom meetingRoom);//添加会议室
    List<Integer> getMrIdByName(@Param("roomname") String roomname);
}
